package com.ktjy.crm.thymeleaf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@TableName("transaction_record")
@Data
public class Transaction_Record {
    @TableId(type = IdType.AUTO)
    private int id;                 // 交易ID
    private int cardno;             // 卡号
    @TableField("transactionDate")
    private Date transactionDate; // 交易日期
    private BigDecimal amount;         // 交易金额
    private BigDecimal balance;        // 交易后余额
    @TableField("transactionType")
    private String transactionType; // 交易类型
    private String remark;         // 备注
}
